package com.sword.cases.factoryMethod.simpleFactory;

/**
 * Created by SwordLiu on 2017-05-09.
 */
public class SimpleFactoryTest {

    public static void main(String[] args) {

        SenderFactory senderFactory = new SenderFactory();
        Sender sender = senderFactory.produce("sms");
        sender.send();
        System.out.println("程序运行结束....");
    }

}
